package com.property.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.property.entity.Management;

public interface ManagementDao {
	Management ManGet(@Param("id") int id);
	List<Management> getAll();
	void addManage(Management management);

	List<Management> getCommunity(@Param("addressType") String addressType,
			@Param("addressId") Integer addressId, @Param("cname") String cname,
			@Param("startIndex") int startIndex, @Param("pageSize") int pageSize);
	Management getCommunityById(@Param("id") int id);
	Management getManById(@Param("mid")int mid);
	void updateMan(Management management);
	Management ManGetCid(@Param("cid")int cid);
	void delManagement(int cid);
	List<Management> getUserId(int cid);
}
